package org.example.spring.carsalemanagementsystem.service;

import org.example.spring.carsalemanagementsystem.utils.Page;
import org.example.spring.carsalemanagementsystem.vo.ContractDetailVo;
import org.example.spring.carsalemanagementsystem.vo.ContractFuzzyVo;
import org.example.spring.carsalemanagementsystem.vo.ContractListVo;
import org.example.spring.carsalemanagementsystem.vo.SaveContractVo;

public interface ContractService {
    ContractDetailVo findDetail(String contractid);
    void saveContract(SaveContractVo vo);
    Page<ContractListVo> findPages(Long pageNum, Long pageSize);
    Page<ContractListVo> findPagesByKey(ContractFuzzyVo vo);
    void delete(String contractid);
}
